Ampere's law in 12th class physics